<html xmlns:act="http://www.ujf-grenoble.fr/l3miage/actes" xmlns:cab="http://polytech.ujf-grenoble.fr/cabinet">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cabinetInf.xsl</title>
<link rel="stylesheet" type="text/css" href="css/cabinetInf.css">
<script type="text/javascript" src="js/facture.js"></script><script type="text/javascript">
                    function openFacture(prenom, nom, actes) 
                    {
                        var width  = 500;
                        var height = 300;
                        if(window.innerWidth) {
                            var left = (window.innerWidth-width)/2;
                            var top = (window.innerHeight-height)/2;
                        }
                        else {
                            var left = (document.body.clientWidth-width)/2;
                            var top = (document.body.clientHeight-height)/2;
                        }
                        var factureWindow = window.open('','facture','menubar=yes, scrollbars=yes, top='+top+', left='+left+', width='+width+', height='+height+'');
                        factureText = afficherFacture(prenom, nom, actes); 
                        factureWindow.document.write(factureText);
                    }        
                </script>
</head>
<body>
<h1>Bonjour Annie</h1>
<p>
                    Aujourd'hui, vous avez 3 patients
                </p>
<table border="1" cellspacing="0" cellpadding="3">
<tr>
<th>Nom</th><th>Pr&eacute;nom</th><th>Adresse</th><th>Soins</th><th>Facture</th>
</tr>
<tr></tr>
<tr>
<td>Orouge</td><td>Elvire</td><td>6&nbsp;rond-point de la croix de vie<br>38700&nbsp;La Tronche</td><td>
<ul>
<li>
            Injection sous-cutan&eacute;e.
        </li>
</ul>
</td><td onclick="
                        openFacture('Elvire',
                                    'Orouge',
                                    '109')
                    "><input type="button" onclick="$onclick" value="Facture"></td>
</tr>
<tr>
<td>Pien</td><td>Oscare</td><td>5&nbsp;rue Casimir Brenier<br>38000&nbsp;Grenoble</td><td>
<ul>
<li>
            Injection sous-cutan&eacute;e.
        </li>
</ul>
</td><td onclick="
                        openFacture('Oscare',
                                    'Pien',
                                    '109')
                    "><input type="button" onclick="$onclick" value="Facture"></td>
</tr>
<tr>
<td>Kapo&euml;tla</td><td>Xavier</td><td>25&nbsp;rue des Martyrs<br>38042&nbsp;Grenoble</td><td>
<ul>
<li>
            Injection sous-cutan&eacute;e.
        </li>
</ul>
</td><td onclick="
                        openFacture('Xavier',
                                    'Kapo&euml;tla',
                                    '109')
                    "><input type="button" onclick="$onclick" value="Facture"></td>
</tr>
</table>
</body>
</html>
